import request, {requeste} from "../utils/request";

/**
 * 查找支付配置
 * @param params
 * @returns {Promise.<*>}
 */
export async function queryPaymentConfigruation(params) {
    return requeste('PaymentConfigruationService', 'queryPaymentConfigruation', {
        method: 'POST',
        body: params,
    })
}

/**
 * 查找全部支付配置
 * @param params
 * @returns {Promise.<*>}
 */
export async function queryAllPaymentConfigruation(params) {
    return requeste('PaymentConfigruationService','queryAllPaymentConfigruation', {
        method: 'POST',
        body: params,
    });
}

/**
 * 增加
 * @param params
 * @returns {Promise.<*>}
 */
export async function addPaymentConfigruation(params) {
    return requeste('PaymentConfigruationService','addPaymentConfigruation', {
        method: 'POST',
        body: params,
    });
}

/**
 * 删除
 * @param params
 * @returns {Promise.<*>}
 */
export async function delPaymentConfigruation(params) {
    return requeste('PaymentConfigruationService','delPaymentConfigruation', {
        method: 'POST',
        body: params,
    });
}

/**
 * 更新
 * @param params
 * @returns {Promise.<*>}
 */
export async function modPaymentConfigruation(params) {
    return requeste('PaymentConfigruationService','modPaymentConfigruation', {
        method: 'POST',
        body: params,
    });
}